import Document, { Head, Main, NextScript } from "next/document";
export default class MyDocument extends Document {
	static async getInitialProps(ctx) {
		const initialProps = await Document.getInitialProps(ctx);
		return { ...initialProps };
	}
	render() {
		return (
			<html>
				<Head>
					<Head>
						<link rel="shortcut icon" href="/static/favicon.ico" />
						<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
					</Head>
				</Head>
				<body>
					<Main />
					<NextScript />
					<script src="https://webapi.amap.com/maps?v=1.4.10&key=8cde1c9cb3f9c71167b6d0cddf9bac81&plugin=AMap.MarkerClusterer"></script>
				</body>
			</html>
		);
	}
}